.monaco-tree-editor .monaco-tree-editor-list {
  &-wrapper {
    width: 180px;
    line-height: 30px;
    height: 100%;
    background: var(--monaco-bg-folders);
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;

    &:hover {
      overflow-y: auto;
      .monaco-tree-editor-list-split .monaco-tree-editor-list-split-icon {
        visibility: visible;
      }
    }

    // &::-webkit-scrollbar-track {
    // -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    // }
    &::-webkit-scrollbar-thumb {
      background-color: var(--monaco-bg-folders-scrollbar-thumb);
      &:hover {
        background-color: var(--monaco-bg-folders-scrollbar-thumb-hover);
      }
      &:active {
        background-color: var(--monaco-bg-folders-scrollbar-thumb-active);
      }
    }
    &::-webkit-scrollbar {
      width: 10px;
    }
  }

  &-title {
    padding: 4px 14px;
  }

  &-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 25px;
    user-select: none;
    cursor: pointer;
    line-height: 25px;

    &-icon {
      visibility: hidden;
      font-size: 16px;
      margin-right: 4px;

      &:hover {
        color: var(--monaco-text-base-2);
      }
    }
  }

  &-file-item {
    user-select: none;
    font-family: consolas, monospace, courier;

    &-new {
      flex: 1;
      outline: none;
      background-color: var(--monaco-bg-folders-item-new);
      border: 1px solid var(--monaco-border-base-2);

      &:focus {
        cursor: text;
      }
    }

    .monaco-tree-editor-list-split-icon {
      visibility: hidden;
    }

    &-row {
      cursor: pointer;
      user-select: none;
      display: flex;
      flex-direction: row;
      align-items: center;

      span,
      .monaco-tree-editor-list-file-item-new {
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 20px);
      }

      &:hover {
        background-color: var(--monaco-bg-folders-item-hover);
        color: var(--monaco-text-base-1);
      }

      &:hover .monaco-tree-editor-list-split-icon {
        visibility: visible;
      }
    }
    &-row.monaco-tree-editor-list-file-item-row-focused {
      &:hover {
        background-color: var(--monaco-bg-folders-item-active);
        color: var(--monaco-text-folders-item-active);
      }
      .monaco-tree-editor-list-split-icon:hover {
        color: var(--monaco-text-folders-item-active);
      }
    }
  }

  &-file-item > div {
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
  }

  &-file-item > .file:has(.monaco-tree-editor-list-file-item-row-focused) {
    background-color: var(--monaco-bg-folders-item-active);
    border-color: var(--monaco-border-base-2);
    color: var(--monaco-text-folders-item-active);
  }
}
